package com.pdool.game.dao;


import com.pdool.game.entity.ApiUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ApiUserEntityDao extends JpaRepository<ApiUserEntity, Integer>, JpaSpecificationExecutor<ApiUserEntity> {

    List<ApiUserEntity> findAllByUserType(int userType);
}